#！/bin/bash
ip="127.0.01"
port="23333"
name="LaoHong"
echo "input name :"
read name
echo "*input ip :"
read ip
echo "*input port"
read port

if [$ip = ""] ; then
    ip="127.0.0.1"
fi

if [$port = ""] ; then
    port="23333"
fi
clear
echo "IP:${ip}:${port}"
love . -mode "client" -ip ${ip} -port ${port} -name ${name}